package Constans;

/**
 * @author:zhengyilong
 * @email:1797344574@qq.com
 * @phone:13479394730
 * @desc:常量类，用于存放项目中用到的不会变得数据
 * @DateTime:2021/12/6 16:25
 **/
public class Constants {

    //聚合数据的热门视频API
    public static final String TRIP_URL = "http://apis.juhe.cn/fapig/douyin/billboard";
    //聚合数据的热门视频的KEY
    public static final String TRIP_KEY = "d6a9019b7be5b559ca6ae39827fbb061";

    //聚合数据的天气查询API
    public static final String WEATHER_URL = "http://apis.juhe.cn/simpleWeather/query";
    //聚合数据的天气查询KEY
    public static final String WEATHER_KEY = "bd407bd15643816cd504471a6ec14f5f";

    //手机号码归属地查询API
    public static final String PHONE_URL = "http://apis.juhe.cn/mobile/get";
    //手机号码归属地查询KEY
    public static final String PHONE_KEY = "5abd3dd53a9177368efb47e88f4181d3";

    //星座运势查询API
    public static final String CONS_URL = "http://web.juhe.cn/constellation/getAll";
    //星座运势查询KEY
    public static final String CONS_KEY = "ec766cadfe612af2cea181f7386202ba";


    //比特币客户端rpc通信的配置信息（与bitcoin.conf中的配置信息一致）
    public static final String BITCOIN_RPC_URL = "http://127.0.0.1:8332";
    public static final String BITCOIN_RPC_USER = "莫七";
    public static final String BITCOIN_RPC_PWD = "kaipule452b.";

    //bitcoin命令
    public static final String GETBESTBLOCKHASH = "getbestblockhash";   //获取当前节点最高位的区块哈希值
    public static final String GETBLOCKCOUNT = "getblockcount";         //获取当前节点区块高度
    public static final String GETBLOCKHASH = "getblockhash";           //查找指定高度区块的哈希值
    public static final String GETBLOCK = "getblock";                   //通过哈希值获取指定区块具体信息
    public static final String GETDIFFICULTY = "getdifficulty";         //获取出块难度

}

